package com.emergency.db.domain.nuclear;

import com.emergency.base.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.sql.Date;

//涉核目标基本信息表
@Entity
@Table(name = "bas_nuclear")
public class Nuclear extends BaseEntity {
    private String num;//涉核目标编号

    private String name;//涉核目标名称

    private String note;//涉核目标描述

    @Column
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date creatTime;//建造时间

    private String manager;//负责人

    private String tel;//责任人电话

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public String getManager() {
        return manager;
    }

    public void setManager(String manager) {
        this.manager = manager;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }
}
